Algorithm: Uniform Sampling